
package com.one.odf.model;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * <p>Java class for SessionType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="SessionType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="SessionName" type="{}SessionNameType" maxOccurs="unbounded"/&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="SessionCode" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="StartDate" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /&gt;
 *       &lt;attribute name="EndDate" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /&gt;
 *       &lt;attribute name="Leadin" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="Venue" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="VenueName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="ModificationIndicator" type="{}modificationIndicatorType" /&gt;
 *       &lt;attribute name="SessionStatus" type="{}scheduleStatusType" /&gt;
 *       &lt;attribute name="SessionType" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="Medal" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SessionType", propOrder = {
    "sessionName"
})
public class SessionType {

    @XmlElement(name = "SessionName", required = true)
    protected List<SessionNameType> sessionName;
    @XmlAttribute(name = "SessionCode", required = true)
    protected String sessionCode;
    @XmlAttribute(name = "StartDate", required = true)
    @XmlSchemaType(name = "dateTime")
    protected XMLGregorianCalendar startDate;
    @XmlAttribute(name = "EndDate", required = true)
    @XmlSchemaType(name = "dateTime")
    protected XMLGregorianCalendar endDate;
    @XmlAttribute(name = "Leadin")
    protected String leadin;
    @XmlAttribute(name = "Venue", required = true)
    protected String venue;
    @XmlAttribute(name = "VenueName", required = true)
    protected String venueName;
    @XmlAttribute(name = "ModificationIndicator")
    protected ModificationIndicatorType modificationIndicator;
    @XmlAttribute(name = "SessionStatus")
    protected ScheduleStatusType sessionStatus;
    @XmlAttribute(name = "SessionType")
    protected String sessionType;
    @XmlAttribute(name = "Medal")
    protected String medal;

    /**
     * Gets the value of the sessionName property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the sessionName property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getSessionName().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link SessionNameType }
     * 
     * 
     */
    public List<SessionNameType> getSessionName() {
        if (sessionName == null) {
            sessionName = new ArrayList<SessionNameType>();
        }
        return this.sessionName;
    }

    /**
     * Gets the value of the sessionCode property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getSessionCode() {
        return sessionCode;
    }

    /**
     * Sets the value of the sessionCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSessionCode(String value) {
        this.sessionCode = value;
    }

    /**
     * Gets the value of the startDate property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getStartDate() {
        return startDate;
    }

    /**
     * Sets the value of the startDate property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setStartDate(XMLGregorianCalendar value) {
        this.startDate = value;
    }

    /**
     * Gets the value of the endDate property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getEndDate() {
        return endDate;
    }

    /**
     * Sets the value of the endDate property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setEndDate(XMLGregorianCalendar value) {
        this.endDate = value;
    }

    /**
     * Gets the value of the leadin property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getLeadin() {
        return leadin;
    }

    /**
     * Sets the value of the leadin property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setLeadin(String value) {
        this.leadin = value;
    }

    /**
     * Gets the value of the venue property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getVenue() {
        return venue;
    }

    /**
     * Sets the value of the venue property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setVenue(String value) {
        this.venue = value;
    }

    /**
     * Gets the value of the venueName property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getVenueName() {
        return venueName;
    }

    /**
     * Sets the value of the venueName property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setVenueName(String value) {
        this.venueName = value;
    }

    /**
     * Gets the value of the modificationIndicator property.
     * 
     * @return
     *     possible object is
     *     {@link ModificationIndicatorType }
     *     
     */
    public ModificationIndicatorType getModificationIndicator() {
        return modificationIndicator;
    }

    /**
     * Sets the value of the modificationIndicator property.
     * 
     * @param value
     *     allowed object is
     *     {@link ModificationIndicatorType }
     *     
     */
    public void setModificationIndicator(ModificationIndicatorType value) {
        this.modificationIndicator = value;
    }

    /**
     * Gets the value of the sessionStatus property.
     * 
     * @return
     *     possible object is
     *     {@link ScheduleStatusType }
     *     
     */
    public ScheduleStatusType getSessionStatus() {
        return sessionStatus;
    }

    /**
     * Sets the value of the sessionStatus property.
     * 
     * @param value
     *     allowed object is
     *     {@link ScheduleStatusType }
     *     
     */
    public void setSessionStatus(ScheduleStatusType value) {
        this.sessionStatus = value;
    }

    /**
     * Gets the value of the sessionType property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getSessionType() {
        return sessionType;
    }

    /**
     * Sets the value of the sessionType property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSessionType(String value) {
        this.sessionType = value;
    }

    /**
     * Gets the value of the medal property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getMedal() {
        return medal;
    }

    /**
     * Sets the value of the medal property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setMedal(String value) {
        this.medal = value;
    }

}
